<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>URL规则设置</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/layout.css"/> 
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/content.css"/>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
        
    </head>
    <body>
        <div class="cbox col9 f_l">
            <div class="header"><h3>URL自定义规则设置</h3></div>
            <div class="content">
                <div class="innerbox">
                    <div class="infobox success col9" style='margin:5px 0px'>要使规则生效，请先在系统设置中开启路由功能，并且在 <a href="<{:U('route/route')}>" style='color:blue;'>路由规则</a> 中添加相应的重定向规则。</div>
                    <table class="tt">
                        <tr>
                            <th width='60px'>编号</th>
                            <th width="100px">模块</th>
                            <th>规则</th>
                            <th width='200px'>操作</th>
                        </tr>
                        <volist name='rulelist' id='eachrule'>
                        <tr>
                            <td><{$eachrule.id}></td>
                            <td><{$eachrule.action}></td>
                            <td><{$eachrule.rule}></td>
                            <td><a href='<{:U('editurlrule?id='.$eachrule['id'])}>'>编辑</a>  <a href='<{:U('deleteurlrule?id='.$eachrule['id'])}>'>删除</a></td>
                        </tr>
                        </volist>
                    </table>
                    <br/>
                    <p>
                        <input type="button" value="添加新规则" class="subbtn" onclick="window.location.href='<{:U('addurlrule')}>'"/>
                    </p>
                </div>
            </div>
        </div>
    </body>
</html>
